<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<link rel="stylesheet" type="text/css" href="/sview/css/relations/rel_role.css">
<script type="text/javascript" src="/sview/script/relations/rel_role.js"></script>
<%
	String ds_type = request.getParameter("ds_type");
	int ds_id = Integer.parseInt(request.getParameter("ds_id"));
	int relation_id = Integer.parseInt(request
			.getParameter("relation_id"));
	String purpose = request.getParameter("purpose");
	String user = request.getParameter("user");
	String lang = request.getParameter("lang");
%>
<div id="role">
	<div id="role_left">
		<div id="rel_pattern_title">Relation Pattern</div>
		<div id="rel_pattern"></div>
		<div id="rel_name">
			Relation Name: <input type="text" name="relname" id="rel_name_input" />
		</div>
		<div id="role_sel_title">Role Selection:</div>
		<div id="role_sel"></div>
		<div id="test_role">
			<input id="testButton" class="button-bg" type="button" value="Test"></input>
		</div>
	</div>
	<div id="role_right"></div>
	<div id="rel_save">
		<input type="button" class="button-bg" value="Save" id="saveButton"></input>
		<input type="button" class="button-bg" value="back" id="backButton"></input>
	</div>
</div>
<input type="hidden" id="ds_type" value="<%=ds_type%>" />
<input type="hidden" id="ds_id" value="<%=ds_id%>" />
<input type="hidden" id="relation_id" value="<%=relation_id%>" />
<input type="hidden" id="purpose" value="<%=purpose%>" />
<input type="hidden" id="user" value="<%=user%>" />
<input type="hidden" id="display-lang" value="en" />